# Contributor: Maarten van Gompel <proycon@anaproy.nl>
# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=frog
pkgver=0.24
pkgrel=2
pkgdesc="Integrator of natural language processing moduels for Dutch"
options="!check"
arch="all"
url="https://github.com/LanguageMachines/ucto"
license="GPL-3.0-only"
depends="frogdata"
makedepends="libtool ticcutils-dev ucto-dev libfolia-dev timbl-dev
	mbt-dev mbtserver-dev icu-dev libxml2-dev libexttextcat-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/LanguageMachines/frog/releases/download/v$pkgver/frog-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="67140b7ba6c7b755f8534e9e15fb8b0aa7ff04e6d444c5d8e170a166fc14bc91a0a564679e42ad37eab3d9a51554feb88c03e85c9faa949e5a95d6e094ff86ed  frog-0.24.tar.gz"
